# -*- coding: utf-8 -*-
from db.mysql import MysqlClient
from common.helper import Helper
name = "小红帽-史带综合意外保险"
mysql = MysqlClient()
plan = {
    "planA": {
        "name": "小红帽-史带综合意外保险",
        "company": "史带财险",
        "days": "1y",
        "people_count": "1",
        "accident_death": "50000",
        "accident_disable": "50000",
        "common_traffic": "100000",
        "accident_medical": "10000",
        "price": "75.00"
    },
    "planB": {
        "name": "小红帽-史带综合意外保险",
        "company": "史带财险",
        "days": "1y",
        "people_count": "1",
        "accident_death": "10000",
        "accident_disable": "10000",
        "common_traffic": "20000",
        "accident_medical": "5000",
        "price": "75.00"
    }

}
for k in plan:
    data = plan[k]
    Helper.mergeTable( name ,mysql,data)

